#import "talasnica_profitmetr.dll"
   int new_AOS();
   void delete_AOS(int);
   int pridej_svicu(int AOS_id, datetime openTime, double open, double hore, double dole, double close);
   double davaj_profit(int AOS_id, int cislo_svice);


   int    GetIntValue(int);
   double GetDoubleValue(double);
   string GetStringValue(string);
   double GetArrayItemValue(double arr[],int,int);
   bool   SetArrayItemValue(double& arr[],int,int,double);
   double GetRatesItemValue(double rates[][6],int,int,int);
   int    SortStringArray(string& arr[],int);
   int    ProcessStringArray(string& arr[],int);